﻿using UnityEngine;
using System.Collections;

public class EnemyTop : MonoBehaviour {

    public bool isDead = false;

    public void OnTriggerEnter2D(Collider2D other)
    {
        if (other.transform.tag.Equals("Player"))
        {
            isDead = true;
        }
    }
    

}
